Welcome![Sign In][Sign Up]
Location:
Search - select socket

Search list

[Internet-NetworkTCP-CPP

Description: TCP 回射服务器 客户端 代码 套接字编程 select-Retroreflective server TCP socket programming client code
Platform: | Size: 4096 | Author: zwj | Hits:

[Internet-NetworkSocketExample

Description: 使用VC++开发的socket编程,包括TCP、UDP协议等、使用Select模块等 -Socket programming using C++ development, including TCP, UDP protocol, use the Select module
Platform: | Size: 5598208 | Author: wangxiaogui | Hits:

[Internet-Networknon_blocking

Description: TCP、UDP 通信程序设计实验 Socket 编程基本原理参见参考文档 UDP 通信程序设计 选择一个操作系统环境(Linux 或者Windows)建议linux,编制UDP/IP 通 信程序,完成一定的通信功能。在发送UDP 数据包时做一个循环,连续发送 100 个数据包;在接收端统计丢失的数据包。-TCP, UDP communication program design experiments Socket programming basic principles, see the reference documentation UDP communication program design Select an operating system environment (Linux or Windows) recommended Linux, the preparation of UDP/IP through Letter procedures, the completion of a certain communication functions. When sending UDP packets to do a cycle, continuous transmission 100 packets the packet at the receiver s statistics.
Platform: | Size: 3072 | Author: y | Hits:

[Internet-Networkclient-server

Description: 多协议文件传输c/s网络应用设计与实现,程序用 TCP/UDP 两个协议模拟多协议服务器。首先服务器端要将两种协议的套接字创建好,并且监听 TCP 端口的连接。必要时使用select函数来进行多连接处理和非阻塞处理。而客户端直接可以按照发送的地址和端口号来进行通讯。 首先要运行服务器端,服务器会监听 TCP 端口。然后运行客户端,根据事先设定好的 IP和端口,就可以进行连接传输数据了。 程序实现的关键步骤: 以TCP协议为例 服务器端: 1.创建套接字;2.绑定端口;3.进入无穷的循环;4.接收请求;5.处理请求;6.应答。 客户端: 1.找到服务器的IP地址和协议的端口号;2.创建套接字;3.确定连接需要任意的,没有使用的端口号允许TCP去选择一个;4.将套接字和服务器连接;5.使用应用层协议和服务器交互;6.关闭连接。-Multi-protocol file transfer c/s network application design and implementation of programs simulate multi-protocol server with TCP/UDP both protocols. First socket server to create a good two protocols, TCP port and listens for connections. If necessary, use the function to handle multiple connections and non-blocking treatment. And the client can follow directly address and port number to communicate. First run on the server side, the server listens on TCP port. Then run the client, according to pre-configured IP and port, you can connect the data transmission. The key step program implementation: In TCP protocol as an example Service-Terminal: 1. Create a socket 2 bound port 3 enter an infinite loop 4. receiving a request 5. processing requests 6 response. Clients: 1. Locate the server s IP address and protocol port number 2 creates a socket 3 connections need to determine arbitrary, unused port allows TCP to choose a 4 and the socket server connections 5 using appli
Platform: | Size: 22675456 | Author: 大酱 | Hits:

[SCMDS1307

Description: 通过串口数据设置可调整时钟程序 1、程序说明: 该例程演示了如何通过串口数据设定时钟,采用数码管显示。 2、 操作: 1、该串口1可以设置为通过USB口输出或者通过DB9口输出。 如果使用USB输出,请使用USB线将开发板连接至电脑, 如果使用DB9输出,请使用DB9直连线将开发板的J25插座连接至电脑. 同时将跳线插座J28跳到TxD1和RxD1. 打开STC-ISP下载软件中的串口助手,选择相应串口号, 选择波特率9600,8位数据位,1位停止位,无校验。 点打开串口 接收缓冲区选择“HEX模式” 发送缓冲区选择“HEX模式” 从串口助手发送区输入数据格式如下 aa 55 n1 n2 n3 n4 n5 n6 n7 xx 其中aa 55为两个开始数据,xx为校验数据, n1 n2 n3 n4 n5 n6 n7为秒、分、时、星期、日、月、年的数据。 检验数据为aa+55+n1+n2+n3+n4+n5+n6+n7的结果。 十六进制数据,例如 aa 55 00 25 09 05 01 05 15 4d点击发送, 发送数据后,如果数据合法,时钟将重新设置。 -The adjustable clock program through the serial data 1. Program Description: This example demonstrates how to set the clock via the serial data, the use of digital display. 2: 1, 1 serial port that can be set to output via USB port or via DB9 port output. If you use a USB output, use a USB cable connected to the computer board, If you use a DB9 output, use a DB9 straight cable to connect the socket J25 development board to the computer. While the socket J28 jumper to jump TxD1 and RxD1. Open the STC-ISP download software serial assistant, the corresponding serial number, Select the baud rate of 9600, 8 data bits, 1 stop bit, no parity. Point to open the serial port receive buffer HEX mode Transmit Buffer Select HEX mode Input data serial format to send aides area below aa 55 n1 n2 n3 n4 n5 n6 n7 xx Wherein aa 55 to start two data, xx To verify that data, n1 n2 n3 n4 n5 n6 n7 seconds, minutes, hours, day, date, month, and year of data. Test data
Platform: | Size: 109568 | Author: 科恩电子 | Hits:

[SCMcom

Description: 电脑串口接收DS18B20温度测试程序 1、程序说明: 该例程演示了单片机采集温度,并将温度值 发送到电脑的测试程序, 2、实验操作 1、将跳线插座J11的跳线帽调至TDQ端。 2、将跳线插座J28的跳线帽跳到TxD1和RxD1。 打开STC-ISP下载软件中的串口助手,选择相应串口号, 选择波特率9600,8位数据位,1位停止位,无校验。 点打开串口 接收缓冲区选择“文本模式” 发送缓冲区选择“文本模式” - PC serial port to receive DS18B20 temperature test program 1. Program Description: This example demonstrates the single-chip collecting temperature and the temperature value Sent to the computer test program, 2, experimental operation 1, the jumper socket J11 jumper cap adjusted TDQ end. 2, the jumper socket J28 jumpers to jump TxD1 and RxD1. Open the STC-ISP download software serial assistant, the corresponding serial number, Select the baud rate of 9600, 8 data bits, 1 stop bit, no parity. Point to open the serial port receive buffer Text Mode Transmit Buffer Select Text Mode
Platform: | Size: 65536 | Author: 科恩电子 | Hits:

[Internet-Networknetwork_select-master

Description: 基于select模型的监听socket的server框架。只需要关注收发数据包的解析处理,放在业务上。-Listening socket server based framework of models. Only need to focus on analysis processing to send and receive packets on the business.
Platform: | Size: 20480 | Author: ZX | Hits:

[Internet-NetworkC-S

Description: linux简单的网络编程实例,socket通讯,select多路I/O ,server,client模式 select模型-linux socket
Platform: | Size: 13312 | Author: 张庆林 | Hits:

[VC/MFCWindows-Sockets-Based-on-Visual-CPP

Description: 《精通Windows Sockets网络开发:基于Visual C++实现》由浅入深、循序渐进地讲解如何使用WindowsSockets开发网络应用程序。WindowsSockets是当前主要的网络开发技术之一。《精通Windows Sockets网络开发:基于Visual C++实现》内容包括准备开发环境、TCP/IP基本介绍、Windows套接字基础、协议特征、基本TCP套接字编程、基本UDP套接字编程、套接字选项、套接字阻塞模式开发、套接字非阻塞模式开发、Select模型开发、WSAAsyncSelect模型开发、WSAEventSelect模型开发、重叠I/O模型开发和完成端口模型开发。为使读者深入理解套接字的理论知识,增加实践项目经验,《精通Windows Sockets网络开发:基于Visual C++实现》最后7章,每章讲解一个具有实践意义的网络应用程序。在这些实例中包含许多软件开发技术知识,如STL、ADO、多线程、MFC、软件设计模式等。-Explain how to use Windows Sockets to develop web applications, including the preparation of the development environment, TCP/IP basic introduction, Windows socket base, protocol features, basic TCP socket programming, basic UDP socket programming, socket options, socket blocking mode development, socket Non-blocking mode development, Select model development, WSAAsyncSelect model development, WSAEventSelect model development, overlapping I/O model development and completion port model development.
Platform: | Size: 50822144 | Author: Raina | Hits:

[Internet-Networkducoment-manage

Description: 局域网文件上传下载查询,socket编程,多线程,select多路复用技术,也是我自己编写的,里当然有很多的不足,仅供参考-LAN file upload download query, socket programming, multi-threaded, multiplexing technology, but also my own preparation, of course, there are many deficiencies, for reference only
Platform: | Size: 26624 | Author: 殷晟 | Hits:

[Internet-NetworkSniffer_Self

Description: 基于raw socket的嗅探器,设置网卡为混杂模式,使用select函数,捕获所有经过网卡的数据包,解析数据包并显示在控制台。-a sniffer based on raw socket
Platform: | Size: 11427840 | Author: zhaohaoxue | Hits:

[File Operate43071012

Description: 简单web服务器,socket编程 支持自动获取ip 可选择端口号(Simple web server, socket programming support can select automatically obtain the IP port number)
Platform: | Size: 21504 | Author: Wqilope | Hits:

[Internet-NetworkMulticast

Description: 交互CMOS模块: (1)界面点击 (2)用户输入 (3)信息、命令显示 (4)提示对话框 2.2、通信模块: (1)组播通信RFC1112推荐了一些支持组播的应用程序接口: ●加入一个组播组; ●离开一个组播组; ●为调整范围对一个组播数据的IP TTL值进行设定; ●为组播传输和接收设定本地的接口; ●禁止输出的组播数据回送。 (2)点对点Socket通信 2.3、信息查询模块(内存、cpu、网络、磁盘信息,关机) 2.4、数据处理模块(Information, command display: add the host IP and name display list, to obtain the command options, get the information display list, add the group information, the group information, add the group activity display. Interface Click: select the host to get the information, select the command to send, select the join group or exit, select the set of the machine group address. User input: Enter the group IP address and port number to be added in the group information. Enter the group address and port number created by the machine in this unit information. Prompt dialog box: When you click to join the group, the pop-up dialog box prompts to join the success; when you click to exit the group, the pop-up exit successfully; when not selected host or command click to send command button, pop-up prompts select host or command.)
Platform: | Size: 23880704 | Author: gaorui003 | Hits:

[Windows Develop137

Description: 、采用 C/S 架构,通过多线程实现服务器与多个客户端之间的通信 2、在服务器端使用select、轻量级数据库 Sqlite3 管理 3、记录存储所有用户注册时的昵称、密码、个性签名、VIP 标志等 4、用到了C语言链表表示用户信息、文件编程、socket网络编程、多线程(服务器端)、sqlite3数据库存储等; 5、具体功能包括:注册、登录、修改密码、群聊、私聊、查看在线用户、设置个性签名、文件传输、查看聊天记录、注册会员等功能,VIP 会员还独享禁言、解禁、踢人等特殊功能。(Using C/S architecture to communicate the communication between the server and multiple clients through multithreading 2. Use select and lightweight database Sqlite3 management on the server side 3. Record the nicknames, passwords, personalities, VIP signs, and so on for the registration of all users 4, use the C language chain to represent user information, file programming, socket network programming, multithreading (server side), SQLite3 database storage, etc. 5, specific features include: registration, login, change password, group chat, private chat, online user view, set character signature, file transfer, check the records and membership functions to chat, VIP members are also banned, the lifting of the ban, forcing exclusive special functions.)
Platform: | Size: 46810112 | Author: Tosans | Hits:
« 1 2 ... 5 6 7 8 9 10»

CodeBus www.codebus.net